Integrand size = 18, antiderivative size = 540 \[ \int \frac {a+b \sec ^{-1}(c x)}{(d+e x)^{7/2}} \, dx=-\frac {4 b e \left (1-c^2 x^2\right )}{15 c d \left (c^2 d^2-e^2\right ) \sqrt {1-\frac {1}{c^2 x^2}} x (d+e x)^{3/2}}-\frac {16 b c e \left (1-c^2 x^2\right )}{15 \left (c^2 d^2-e^2\right )^2 \sqrt {1-\frac {1}{c^2 x^2}} x \sqrt {d+e x}}-\frac {4 b e \left (1-c^2 x^2\right )}{5 c d^2 \left (c^2 d^2-e^2\right ) \sqrt {1-\frac {1}{c^2 x^2}} x \sqrt {d+e x}}-\frac {2 \left (a+b \sec ^{-1}(c x)\right )}{5 e (d+e x)^{5/2}}+\frac {4 b \left (7 c^2 d^2-3 e^2\right ) \sqrt {d+e x} \sqrt {1-c^2 x^2} E\left (\arcsin \left (\frac {\sqrt {1-c x}}{\sqrt {2}}\right )|\frac {2 e}{c d+e}\right )}{15 \left (c^2 d^3-d e^2\right )^2 \sqrt {1-\frac {1}{c^2 x^2}} x \sqrt {\frac {c (d+e x)}{c d+e}}}-\frac {4 b \sqrt {\frac {c (d+e x)}{c d+e}} \sqrt {1-c^2 x^2} \operatorname {EllipticF}\left (\arcsin \left (\frac {\sqrt {1-c x}}{\sqrt {2}}\right ),\frac {2 e}{c d+e}\right )}{15 d \left (c^2 d^2-e^2\right ) \sqrt {1-\frac {1}{c^2 x^2}} x \sqrt {d+e x}}-\frac {4 b \sqrt {\frac {c (d+e x)}{c d+e}} \sqrt {1-c^2 x^2} \operatorname {EllipticPi}\left (2,\arcsin \left (\frac {\sqrt {1-c x}}{\sqrt {2}}\right ),\frac {2 e}{c d+e}\right )}{5 c d^2 e \sqrt {1-\frac {1}{c^2 x^2}} x \sqrt {d+e x}} \]
[Out]
Time = 0.51 (sec) , antiderivative size = 637, normalized size of antiderivative = 1.18, number of steps used = 19, number of rules used = 14, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.778, Rules used = {5334, 1588, 972, 759, 849, 858, 733, 435, 430, 21, 947, 174, 552, 551} \[ \int \frac {a+b \sec ^{-1}(c x)}{(d+e x)^{7/2}} \, dx=-\frac {2 \left (a+b \sec ^{-1}(c x)\right )}{5 e (d+e x)^{5/2}}-\frac {4 b \sqrt {1-c^2 x^2} \sqrt {\frac {c (d+e x)}{c d+e}} \operatorname {EllipticF}\left (\arcsin \left (\frac {\sqrt {1-c x}}{\sqrt {2}}\right ),\frac {2 e}{c d+e}\right )}{15 d x \sqrt {1-\frac {1}{c^2 x^2}} \left (c^2 d^2-e^2\right ) \sqrt {d+e x}}+\frac {16 b c^2 \sqrt {1-c^2 x^2} \sqrt {d+e x} E\left (\arcsin \left (\frac {\sqrt {1-c x}}{\sqrt {2}}\right )|\frac {2 e}{c d+e}\right )}{15 x \sqrt {1-\frac {1}{c^2 x^2}} \left (c^2 d^2-e^2\right )^2 \sqrt {\frac {c (d+e x)}{c d+e}}}+\frac {4 b \sqrt {1-c^2 x^2} \sqrt {d+e x} E\left (\arcsin \left (\frac {\sqrt {1-c x}}{\sqrt {2}}\right )|\frac {2 e}{c d+e}\right )}{5 d^2 x \sqrt {1-\frac {1}{c^2 x^2}} \left (c^2 d^2-e^2\right ) \sqrt {\frac {c (d+e x)}{c d+e}}}-\frac {4 b \sqrt {1-c^2 x^2} \sqrt {\frac {c (d+e x)}{c d+e}} \operatorname {EllipticPi}\left (2,\arcsin \left (\frac {\sqrt {1-c x}}{\sqrt {2}}\right ),\frac {2 e}{c d+e}\right )}{5 c d^2 e x \sqrt {1-\frac {1}{c^2 x^2}} \sqrt {d+e x}}-\frac {16 b c e \left (1-c^2 x^2\right )}{15 x \sqrt {1-\frac {1}{c^2 x^2}} \left (c^2 d^2-e^2\right )^2 \sqrt {d+e x}}-\frac {4 b e \left (1-c^2 x^2\right )}{5 c d^2 x \sqrt {1-\frac {1}{c^2 x^2}} \left (c^2 d^2-e^2\right ) \sqrt {d+e x}}-\frac {4 b e \left (1-c^2 x^2\right )}{15 c d x \sqrt {1-\frac {1}{c^2 x^2}} \left (c^2 d^2-e^2\right ) (d+e x)^{3/2}} \]
[In]
[Out]
Rule 21
Rule 174
Rule 430
Rule 435
Rule 551
Rule 552
Rule 733
Rule 759
Rule 849
Rule 858
Rule 947
Rule 972
Rule 1588
Rule 5334
Rubi steps \begin{align*} \text {integral}& = -\frac {2 \left (a+b \sec ^{-1}(c x)\right )}{5 e (d+e x)^{5/2}}+\frac {(2 b) \int \frac {1}{\sqrt {1-\frac {1}{c^2 x^2}} x^2 (d+e x)^{5/2}} \, dx}{5 c e} \\ & = -\frac {2 \left (a+b \sec ^{-1}(c x)\right )}{5 e (d+e x)^{5/2}}+\frac {\left (2 b \sqrt {-\frac {1}{c^2}+x^2}\right ) \int \frac {1}{x (d+e x)^{5/2} \sqrt {-\frac {1}{c^2}+x^2}} \, dx}{5 c e \sqrt {1-\frac {1}{c^2 x^2}} x} \\ & = -\frac {2 \left (a+b \sec ^{-1}(c x)\right )}{5 e (d+e x)^{5/2}}+\frac {\left (2 b \sqrt {-\frac {1}{c^2}+x^2}\right ) \int \left (-\frac {e}{d (d+e x)^{5/2} \sqrt {-\frac {1}{c^2}+x^2}}-\frac {e}{d^2 (d+e x)^{3/2} \sqrt {-\frac {1}{c^2}+x^2}}+\frac {1}{d^2 x \sqrt {d+e x} \sqrt {-\frac {1}{c^2}+x^2}}\right ) \, dx}{5 c e \sqrt {1-\frac {1}{c^2 x^2}} x} \\ & = -\frac {2 \left (a+b \sec ^{-1}(c x)\right )}{5 e (d+e x)^{5/2}}-\frac {\left (2 b \sqrt {-\frac {1}{c^2}+x^2}\right ) \int \frac {1}{(d+e x)^{3/2} \sqrt {-\frac {1}{c^2}+x^2}} \, dx}{5 c d^2 \sqrt {1-\frac {1}{c^2 x^2}} x}-\frac {\left (2 b \sqrt {-\frac {1}{c^2}+x^2}\right ) \int \frac {1}{(d+e x)^{5/2} \sqrt {-\frac {1}{c^2}+x^2}} \, dx}{5 c d \sqrt {1-\frac {1}{c^2 x^2}} x}+\frac {\left (2 b \sqrt {-\frac {1}{c^2}+x^2}\right ) \int \frac {1}{x \sqrt {d+e x} \sqrt {-\frac {1}{c^2}+x^2}} \, dx}{5 c d^2 e \sqrt {1-\frac {1}{c^2 x^2}} x} \\ & = -\frac {4 b e \left (1-c^2 x^2\right )}{15 c d \left (c^2 d^2-e^2\right ) \sqrt {1-\frac {1}{c^2 x^2}} x (d+e x)^{3/2}}-\frac {4 b e \left (1-c^2 x^2\right )}{5 c d^2 \left (c^2 d^2-e^2\right ) \sqrt {1-\frac {1}{c^2 x^2}} x \sqrt {d+e x}}-\frac {2 \left (a+b \sec ^{-1}(c x)\right )}{5 e (d+e x)^{5/2}}+\frac {\left (4 b \sqrt {-\frac {1}{c^2}+x^2}\right ) \int \frac {-\frac {d}{2}-\frac {e x}{2}}{\sqrt {d+e x} \sqrt {-\frac {1}{c^2}+x^2}} \, dx}{5 c d^2 \left (d^2-\frac {e^2}{c^2}\right ) \sqrt {1-\frac {1}{c^2 x^2}} x}+\frac {\left (4 b \sqrt {-\frac {1}{c^2}+x^2}\right ) \int \frac {-\frac {3 d}{2}+\frac {e x}{2}}{(d+e x)^{3/2} \sqrt {-\frac {1}{c^2}+x^2}} \, dx}{15 c d \left (d^2-\frac {e^2}{c^2}\right ) \sqrt {1-\frac {1}{c^2 x^2}} x}+\frac {\left (2 b \sqrt {1-c^2 x^2}\right ) \int \frac {1}{x \sqrt {1-c x} \sqrt {1+c x} \sqrt {d+e x}} \, dx}{5 c d^2 e \sqrt {1-\frac {1}{c^2 x^2}} x} \\ & = -\frac {4 b e \left (1-c^2 x^2\right )}{15 c d \left (c^2 d^2-e^2\right ) \sqrt {1-\frac {1}{c^2 x^2}} x (d+e x)^{3/2}}-\frac {16 b c e \left (1-c^2 x^2\right )}{15 \left (c^2 d^2-e^2\right )^2 \sqrt {1-\frac {1}{c^2 x^2}} x \sqrt {d+e x}}-\frac {4 b e \left (1-c^2 x^2\right )}{5 c d^2 \left (c^2 d^2-e^2\right ) \sqrt {1-\frac {1}{c^2 x^2}} x \sqrt {d+e x}}-\frac {2 \left (a+b \sec ^{-1}(c x)\right )}{5 e (d+e x)^{5/2}}-\frac {\left (8 b \sqrt {-\frac {1}{c^2}+x^2}\right ) \int \frac {\frac {1}{4} \left (3 d^2+\frac {e^2}{c^2}\right )+d e x}{\sqrt {d+e x} \sqrt {-\frac {1}{c^2}+x^2}} \, dx}{15 c d \left (d^2-\frac {e^2}{c^2}\right )^2 \sqrt {1-\frac {1}{c^2 x^2}} x}-\frac {\left (2 b \sqrt {-\frac {1}{c^2}+x^2}\right ) \int \frac {\sqrt {d+e x}}{\sqrt {-\frac {1}{c^2}+x^2}} \, dx}{5 c d^2 \left (d^2-\frac {e^2}{c^2}\right ) \sqrt {1-\frac {1}{c^2 x^2}} x}-\frac {\left (4 b \sqrt {1-c^2 x^2}\right ) \text {Subst}\left (\int \frac {1}{\left (1-x^2\right ) \sqrt {2-x^2} \sqrt {d+\frac {e}{c}-\frac {e x^2}{c}}} \, dx,x,\sqrt {1-c x}\right )}{5 c d^2 e \sqrt {1-\frac {1}{c^2 x^2}} x} \\ & = -\frac {4 b e \left (1-c^2 x^2\right )}{15 c d \left (c^2 d^2-e^2\right ) \sqrt {1-\frac {1}{c^2 x^2}} x (d+e x)^{3/2}}-\frac {16 b c e \left (1-c^2 x^2\right )}{15 \left (c^2 d^2-e^2\right )^2 \sqrt {1-\frac {1}{c^2 x^2}} x \sqrt {d+e x}}-\frac {4 b e \left (1-c^2 x^2\right )}{5 c d^2 \left (c^2 d^2-e^2\right ) \sqrt {1-\frac {1}{c^2 x^2}} x \sqrt {d+e x}}-\frac {2 \left (a+b \sec ^{-1}(c x)\right )}{5 e (d+e x)^{5/2}}-\frac {\left (8 b \sqrt {-\frac {1}{c^2}+x^2}\right ) \int \frac {\sqrt {d+e x}}{\sqrt {-\frac {1}{c^2}+x^2}} \, dx}{15 c \left (d^2-\frac {e^2}{c^2}\right )^2 \sqrt {1-\frac {1}{c^2 x^2}} x}-\frac {\left (2 b \left (-d^2+\frac {e^2}{c^2}\right ) \sqrt {-\frac {1}{c^2}+x^2}\right ) \int \frac {1}{\sqrt {d+e x} \sqrt {-\frac {1}{c^2}+x^2}} \, dx}{15 c d \left (d^2-\frac {e^2}{c^2}\right )^2 \sqrt {1-\frac {1}{c^2 x^2}} x}-\frac {\left (4 b \sqrt {\frac {c (d+e x)}{c d+e}} \sqrt {1-c^2 x^2}\right ) \text {Subst}\left (\int \frac {1}{\left (1-x^2\right ) \sqrt {2-x^2} \sqrt {1-\frac {e x^2}{c \left (d+\frac {e}{c}\right )}}} \, dx,x,\sqrt {1-c x}\right )}{5 c d^2 e \sqrt {1-\frac {1}{c^2 x^2}} x \sqrt {d+e x}}+\frac {\left (4 b \sqrt {d+e x} \sqrt {1-c^2 x^2}\right ) \text {Subst}\left (\int \frac {\sqrt {1-\frac {2 e x^2}{c \left (d+\frac {e}{c}\right )}}}{\sqrt {1-x^2}} \, dx,x,\frac {\sqrt {1-c x}}{\sqrt {2}}\right )}{5 c^2 d^2 \left (d^2-\frac {e^2}{c^2}\right ) \sqrt {1-\frac {1}{c^2 x^2}} x \sqrt {\frac {d+e x}{d+\frac {e}{c}}}} \\ & = -\frac {4 b e \left (1-c^2 x^2\right )}{15 c d \left (c^2 d^2-e^2\right ) \sqrt {1-\frac {1}{c^2 x^2}} x (d+e x)^{3/2}}-\frac {16 b c e \left (1-c^2 x^2\right )}{15 \left (c^2 d^2-e^2\right )^2 \sqrt {1-\frac {1}{c^2 x^2}} x \sqrt {d+e x}}-\frac {4 b e \left (1-c^2 x^2\right )}{5 c d^2 \left (c^2 d^2-e^2\right ) \sqrt {1-\frac {1}{c^2 x^2}} x \sqrt {d+e x}}-\frac {2 \left (a+b \sec ^{-1}(c x)\right )}{5 e (d+e x)^{5/2}}+\frac {4 b \sqrt {d+e x} \sqrt {1-c^2 x^2} E\left (\arcsin \left (\frac {\sqrt {1-c x}}{\sqrt {2}}\right )|\frac {2 e}{c d+e}\right )}{5 d^2 \left (c^2 d^2-e^2\right ) \sqrt {1-\frac {1}{c^2 x^2}} x \sqrt {\frac {c (d+e x)}{c d+e}}}-\frac {4 b \sqrt {\frac {c (d+e x)}{c d+e}} \sqrt {1-c^2 x^2} \operatorname {EllipticPi}\left (2,\arcsin \left (\frac {\sqrt {1-c x}}{\sqrt {2}}\right ),\frac {2 e}{c d+e}\right )}{5 c d^2 e \sqrt {1-\frac {1}{c^2 x^2}} x \sqrt {d+e x}}+\frac {\left (16 b \sqrt {d+e x} \sqrt {1-c^2 x^2}\right ) \text {Subst}\left (\int \frac {\sqrt {1-\frac {2 e x^2}{c \left (d+\frac {e}{c}\right )}}}{\sqrt {1-x^2}} \, dx,x,\frac {\sqrt {1-c x}}{\sqrt {2}}\right )}{15 c^2 \left (d^2-\frac {e^2}{c^2}\right )^2 \sqrt {1-\frac {1}{c^2 x^2}} x \sqrt {\frac {d+e x}{d+\frac {e}{c}}}}+\frac {\left (4 b \left (-d^2+\frac {e^2}{c^2}\right ) \sqrt {\frac {d+e x}{d+\frac {e}{c}}} \sqrt {1-c^2 x^2}\right ) \text {Subst}\left (\int \frac {1}{\sqrt {1-x^2} \sqrt {1-\frac {2 e x^2}{c \left (d+\frac {e}{c}\right )}}} \, dx,x,\frac {\sqrt {1-c x}}{\sqrt {2}}\right )}{15 c^2 d \left (d^2-\frac {e^2}{c^2}\right )^2 \sqrt {1-\frac {1}{c^2 x^2}} x \sqrt {d+e x}} \\ & = -\frac {4 b e \left (1-c^2 x^2\right )}{15 c d \left (c^2 d^2-e^2\right ) \sqrt {1-\frac {1}{c^2 x^2}} x (d+e x)^{3/2}}-\frac {16 b c e \left (1-c^2 x^2\right )}{15 \left (c^2 d^2-e^2\right )^2 \sqrt {1-\frac {1}{c^2 x^2}} x \sqrt {d+e x}}-\frac {4 b e \left (1-c^2 x^2\right )}{5 c d^2 \left (c^2 d^2-e^2\right ) \sqrt {1-\frac {1}{c^2 x^2}} x \sqrt {d+e x}}-\frac {2 \left (a+b \sec ^{-1}(c x)\right )}{5 e (d+e x)^{5/2}}+\frac {16 b c^2 \sqrt {d+e x} \sqrt {1-c^2 x^2} E\left (\arcsin \left (\frac {\sqrt {1-c x}}{\sqrt {2}}\right )|\frac {2 e}{c d+e}\right )}{15 \left (c^2 d^2-e^2\right )^2 \sqrt {1-\frac {1}{c^2 x^2}} x \sqrt {\frac {c (d+e x)}{c d+e}}}+\frac {4 b \sqrt {d+e x} \sqrt {1-c^2 x^2} E\left (\arcsin \left (\frac {\sqrt {1-c x}}{\sqrt {2}}\right )|\frac {2 e}{c d+e}\right )}{5 d^2 \left (c^2 d^2-e^2\right ) \sqrt {1-\frac {1}{c^2 x^2}} x \sqrt {\frac {c (d+e x)}{c d+e}}}-\frac {4 b \sqrt {\frac {c (d+e x)}{c d+e}} \sqrt {1-c^2 x^2} \operatorname {EllipticF}\left (\arcsin \left (\frac {\sqrt {1-c x}}{\sqrt {2}}\right ),\frac {2 e}{c d+e}\right )}{15 d \left (c^2 d^2-e^2\right ) \sqrt {1-\frac {1}{c^2 x^2}} x \sqrt {d+e x}}-\frac {4 b \sqrt {\frac {c (d+e x)}{c d+e}} \sqrt {1-c^2 x^2} \operatorname {EllipticPi}\left (2,\arcsin \left (\frac {\sqrt {1-c x}}{\sqrt {2}}\right ),\frac {2 e}{c d+e}\right )}{5 c d^2 e \sqrt {1-\frac {1}{c^2 x^2}} x \sqrt {d+e x}} \\ \end{align*}
Result contains complex when optimal does not.
Time = 33.62 (sec) , antiderivative size = 407, normalized size of antiderivative = 0.75 \[ \int \frac {a+b \sec ^{-1}(c x)}{(d+e x)^{7/2}} \, dx=\frac {2 \left (-\frac {3 a}{(d+e x)^{5/2}}+\frac {2 b c e^2 \sqrt {1-\frac {1}{c^2 x^2}} x \left (-e^2 (4 d+3 e x)+c^2 d^2 (8 d+7 e x)\right )}{\left (c^2 d^3-d e^2\right )^2 (d+e x)^{3/2}}-\frac {3 b \sec ^{-1}(c x)}{(d+e x)^{5/2}}+\frac {2 i b \sqrt {\frac {e (1+c x)}{-c d+e}} \sqrt {\frac {e-c e x}{c d+e}} \left (c d \left (7 c^2 d^2-3 e^2\right ) E\left (i \text {arcsinh}\left (\sqrt {-\frac {c}{c d+e}} \sqrt {d+e x}\right )|\frac {c d+e}{c d-e}\right )-c d \left (6 c^2 d^2-c d e-3 e^2\right ) \operatorname {EllipticF}\left (i \text {arcsinh}\left (\sqrt {-\frac {c}{c d+e}} \sqrt {d+e x}\right ),\frac {c d+e}{c d-e}\right )-3 (c d-e) (c d+e)^2 \operatorname {EllipticPi}\left (1+\frac {e}{c d},i \text {arcsinh}\left (\sqrt {-\frac {c}{c d+e}} \sqrt {d+e x}\right ),\frac {c d+e}{c d-e}\right )\right )}{d^3 (c d-e) \left (-\frac {c}{c d+e}\right )^{3/2} (c d+e)^3 \sqrt {1-\frac {1}{c^2 x^2}} x}\right )}{15 e} \]
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. \(1617\) vs. \(2(491)=982\).
Time = 8.78 (sec) , antiderivative size = 1618, normalized size of antiderivative = 3.00
method | result | size |
derivativedivides | \(\text {Expression too large to display}\) | \(1618\) |
default | \(\text {Expression too large to display}\) | \(1618\) |
parts | \(\text {Expression too large to display}\) | \(1642\) |
[In]
[Out]
\[ \int \frac {a+b \sec ^{-1}(c x)}{(d+e x)^{7/2}} \, dx=\int { \frac {b \operatorname {arcsec}\left (c x\right ) + a}{{\left (e x + d\right )}^{\frac {7}{2}}} \,d x } \]
[In]
[Out]
Timed out. \[ \int \frac {a+b \sec ^{-1}(c x)}{(d+e x)^{7/2}} \, dx=\text {Timed out} \]
[In]
[Out]
Exception generated. \[ \int \frac {a+b \sec ^{-1}(c x)}{(d+e x)^{7/2}} \, dx=\text {Exception raised: ValueError} \]
[In]
[Out]
\[ \int \frac {a+b \sec ^{-1}(c x)}{(d+e x)^{7/2}} \, dx=\int { \frac {b \operatorname {arcsec}\left (c x\right ) + a}{{\left (e x + d\right )}^{\frac {7}{2}}} \,d x } \]
[In]
[Out]
Timed out. \[ \int \frac {a+b \sec ^{-1}(c x)}{(d+e x)^{7/2}} \, dx=\int \frac {a+b\,\mathrm {acos}\left (\frac {1}{c\,x}\right )}{{\left (d+e\,x\right )}^{7/2}} \,d x \]
[In]
[Out]